package com.sh.cloudrender.common.utils;

import com.sh.cloudrender.common.dto.ShXResponse;

public class ShXResponseUtil{

    public static <T> ShXResponse<T> build(Integer code, String message, T data){
        ShXResponse<T> response = new ShXResponse<>();
        response.setCode(code);
        response.setMessage(message);
        response.setData(data);
        return response;
    }

}
